package com.lt.utils.ViewUtils;

import android.content.Context;
import android.widget.Toast;

/**
 * @author LiuTong
 */
public class ToastUtils {

    public static void showToast(Context context,String message,int LongType){
        int ToastShowType = 0;
        if(LongType >= 0 && LongType <= 1 ){
            ToastShowType = LongType;
        }
        Toast.makeText(context, message, ToastShowType).show();
    }

    public static void showToast(Context context,String message){
        showToast(context,message,0);
    }
}
